package com.peanut.baby.mvp.suggestion;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;

import androidx.annotation.Nullable;

import com.peanut.baby.R;
import com.peanut.baby.mvp.BaseMvpActivity;
import com.peanut.devlibrary.widget.TitleLayout;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * Created by anonymouslystudio on 2017/8/9.
 */

public class SuggestionActivity extends BaseMvpActivity implements TitleLayout.OnTitleClickListener {
    @BindView(R.id.title)
    TitleLayout title;

    public static void start(Context ctx) {
        ctx.startActivity(new Intent(ctx, SuggestionActivity.class));
    }

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_suggest);
        ButterKnife.bind(this);
        initViews();
    }

    private void initViews() {
        title.setTitle("好孕建议");

        title.setOnTitleClickedListener(this);
    }

    @Override
    public void onTitleBackClicked() {
        finish();
    }

    @Override
    public void onTitleRightClicked() {

    }

    @Override
    public void onTitleClicked() {

    }
}
